ElasticPress\Indexable\Post\QueryIntegration A

Total Complexity 57
Dependencies 3
Dependents 1
Total lines 495
Lines of code 207
Logical lines of code 127
Comment lines 222
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
get_es_posts()
B
37 19 72
format_hits_as_posts()
A
42 10 55
maybe_switch_to_blog()
A
53 8 24
add_es_header()
S
61 5 12
found_posts()
S
68 5 6
maybe_restore_blog()
S
67 3 9
__construct()
S
62 2 10
format_hits_as_ids()
S
71 2 6
format_hits_as_id_parents()
S
64 2 10
get_switched()
S
82 1 3